package com.jyk.blog.service;

import com.jyk.blog.po.User;

import java.util.List;

public interface UserService {
    List<User> queryAll();
    User queryByEmail(String email);
    User queryByName(String name);
    User queryById(int id);
    void insert(User user);
    void delete(User user);
    String getPermission(User user);
}
